#FROM java:8
FROM adoptopenjdk/openjdk8-openj9:alpine-slim
VOLUME /tmp
ADD ruleservice.jar app.jar
#RUN bash -c 'touch /app.jar'
ENV JAVA_OPTS -Xms512m -Xmx512m
EXPOSE 8090
#ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]
ENTRYPOINT ["java","-Xshareclasses -Xquickstart","-jar","/app.jar"]